package com.user.service;

import com.bean.WmsTPermission;
import com.bean.WmsTStore;
import com.bean.WmsTTray;
import com.bean.WmsTUser;
import com.user.mapper.MyMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MyService {
    @Autowired
    MyMapper myMapper;

    public WmsTUser load(WmsTUser wmsTUser){
        return myMapper.load(wmsTUser);
    }

    public List<WmsTPermission> selectPer(){
        return myMapper.selectPer();
    }

    public List<WmsTStore> selectStore(){
        return myMapper.selectStore();
    }

    public List<WmsTTray> seltray(String storeID){
        return myMapper.seltray(storeID);
    }
}
